<!-- +----------------------------------------------------------------------
| 麦沃德科技赋能开发者，助力中小企业发展 
+----------------------------------------------------------------------
| Copyright (c) 2017～2024  www.wdadmin.cn    All rights reserved.
+----------------------------------------------------------------------
| 沃德代驾系统并不是自由软件，不加密，并不代表开源，未经许可不可自由转售和商用
+----------------------------------------------------------------------
| Author: MY WORLD Team <bd@maiwd.cn>   www.wdadmin.cn
+----------------------------------------------------------------------
| 提交成功 开发者: 麦沃德科技半夏
+---------------------------------------------------------------------- -->

<template>
	<view class="container" :style="{'--theme-color': themeColor}">
		<view class="container-tips flex-column align-items-center">
			<view class="tips-image">
				<image src="/static/tick.png" mode="aspectFit"></image>
			</view>
			<view class="tips-title">提交成功</view>
			<view class="tips-subtitle">您已提交审核，预计在3个工作日完成审核</view>
		</view>
		<view class="container-btn" @click="toAuthentication">前往查看</view>
	</view>
</template>

<script>
	import { mapState } from "vuex"
	export default {
		computed: {
			...mapState({
				themeColor: state => state.app.themeColor,
			})
		},
		methods: {
			// 跳转认证信息
			toAuthentication() {
				this.$util.toPage({
					mode: 2,
					path: "/pages/driver/mine/authentication/index",
					isToken: true,
				})
			},
		},
	}
</script>

<style lang="scss">
	.container {
		padding: 32rpx;

		.container-tips {
			border-radius: 16rpx;
			background: #FFFFFF;
			padding: 96rpx 48rpx;

			.tips-image {
				width: 160rpx;
				height: 160rpx;
				border-radius: 50%;
				padding: 24rpx;
				background: var(--theme-color);
			}

			.tips-title {
				margin-top: 48rpx;
				color: #242629;
				font-size: 32rpx;
				font-weight: 600;
				line-height: 44rpx;
			}

			.tips-subtitle {
				margin-top: 32rpx;
				color: #242629;
				font-size: 28rpx;
				line-height: 40rpx;
			}
		}

		.container-btn {
			color: #FFF;
			font-size: 28rpx;
			line-height: 40rpx;
			padding: 28rpx;
			border-radius: 48rpx;
			text-align: center;
			margin-top: 32rpx;
			background: var(--theme-color);
		}
	}
</style>